import axios from '@/assets/model/httpconfig/AxiosApi';
import qs from 'qs';
import { WebApi } from '@/assets/model/httpconfig/WebApi';

export namespace tool {
	export class generation {
		/** tabel列表*/
		public selecttablepage(parameter: any) {
			return axios({
				url: WebApi.backstagePath + '/tool/gen/page',
				method: 'post',
				data: qs.stringify(parameter)
			});
		}
		/** tabel列表*/
		public downtablecode(parameter: any) {
			return axios({
				url: WebApi.backstagePath + '/tool/gen/genCode/' + parameter + '',
				method: 'get'
			});
		}
	}
}
